package com.homestay.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.homestay.beans.LandlordInfoBean;
import com.homestay.dao.ILandlordInfoDao;
import com.homestay.service.ILandlordInfoService;

@Service("LandlordInfoService")
public class LandlordInfoServiceImpl implements ILandlordInfoService{
	
	// 通过类型自动注入
	@Autowired
	private ILandlordInfoDao landlordInfoDao;
	
	@Override
	public LandlordInfoBean findAll(Integer l_id) {
		LandlordInfoBean landlord=landlordInfoDao.findAll(l_id);
		return landlord;
	}

}
